<%@ include file="/common/taglibs.jsp"%>
<%@ taglib prefix="customer" tagdir="/WEB-INF/tags/customer"%>
<%@ taglib prefix="product" tagdir="/WEB-INF/tags/product"%>

<input type="hidden" name="customerId" id="customerId" value="${customer.appuserId}" />
<input type="hidden" name="pagingId" id="pagingId" value="Review" />
<input type="hidden" name="btnSearch"  value="true" />

<display:table name="${productReviewList}" cellspacing="0" cellpadding="0" uid="productReview" class="list_table" export="false" requestURI="">
	<display:column style="width: 10%;"   sortable="false" decorator="com.probiz.estore.core.decorator.TblColumnDecorator" titleKey="customer.review.productInfo" media="html">
		<product:productImage product="${productReview.product}" sizeType="s0" linkType="0" style="vertical-align:middle;"/>
		<br/>
		${productReview.product.productName}
	</display:column>
	<display:column style="width: 10%;" property="subject" sortable="false" decorator="com.probiz.estore.core.decorator.TblColumnDecorator" titleKey="productReview.subject" />
	<display:column style="" property="message" sortable="false" decorator="com.probiz.estore.core.decorator.TblColumnDecorator" titleKey="productReview.message" />
	<display:column style="width: 10%" sortable="false" decorator="com.probiz.estore.core.decorator.TblColumnDecorator" titleKey="productReview.score" >
		<fmt:formatNumber var="score" value="${productReview.score}" pattern="0.0"/>
		<em>${score}</em>
		 <customer:scoreStar value="${score}"/>
	</display:column>
	<display:column style="width: 8%"  sortable="false" decorator="com.probiz.estore.core.decorator.TblColumnDecorator" titleKey="productReview.createTime" >
		<fmt:formatDate value="${productReview.createTime}" pattern="yyyy-MM-dd HH:mm:ss" />
	</display:column>

</display:table>
<%@include file="/common/pagingOnly.jsp"%>
<script type="text/javascript">
$j(document).ready(function () {
	highlightTableRows("productReview");
});
</script>

